package com.youlai.boot.modules.resource.model;

import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "资源视图对象")
@Data
public class ResourceVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "资源URL")
    private String url;

    @Schema(description = "资源描述")
    private String description;

    @Schema(description = "目标类型")
    private Integer targetType;

    @Schema(description = "目标ID")
    private Long targetId;

    @Schema(description = "是否显示")
    private Integer showFlag;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "排序")
    private Integer sort;
}
